package com.spring.mvc.dao;

import java.util.List;
import java.util.Map;

import com.spring.mvc.bean.T0010maesDist;
import org.apache.ibatis.annotations.Param;

public interface T0010maesDistMapper {
    int deleteByPrimaryKey(@Param("COD_DEPA") String COD_DEPA, @Param("COD_PROV") String COD_PROV, @Param("COD_DIST") String COD_DIST);

    int insert(T0010maesDist record);

    int insertSelective(T0010maesDist record);

    T0010maesDist selectByPrimaryKey(@Param("COD_DEPA") String COD_DEPA, @Param("COD_PROV") String COD_PROV, @Param("COD_DIST") String COD_DIST);

    int updateByPrimaryKeySelective(T0010maesDist record);

    int updateByPrimaryKey(T0010maesDist record);
    
    public List<T0010maesDist> selectAllDistrito(Map<String, Object> map)throws Exception;
}